package com.quan.utils;

/**
 * 菜单树转换对象
 * @author yhaoquan
 *
 */
public class GoodsCategoryTreeNode {

	/**
	 * ID
	 */
	private Long id;

	/**
	 * 父菜单ID
	 */
	private Long pid;

	/**
	 * 菜单名称
	 */
	private String name;

	public GoodsCategoryTreeNode() {
	}

	public GoodsCategoryTreeNode(Long id, Long pid, String name) {
		super();
		this.id = id;
		this.pid = pid;
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "GoodsCategoryTreeNode [id=" + id + ", pid=" + pid + ", name=" + name + "]";
	}
	
}
